add_libc_testsuite(libc_time_unittests)

add_libc_unittest(
  asctime
  SUITE
    libc_time_unittests
  SRCS
    asctime_test.cpp
  HDRS
    TmHelper.h
    TmMatcher.h
  CXX_STANDARD
    20
  DEPENDS
    libc.src.time.asctime
)

add_libc_unittest(
  asctime_r
  SUITE
    libc_time_unittests
  SRCS
    asctime_r_test.cpp
  HDRS
    TmHelper.h
    TmMatcher.h
  CXX_STANDARD
    20
  DEPENDS
    libc.src.time.asctime_r
)

add_libc_unittest(
  gmtime
  SUITE
    libc_time_unittests
  SRCS
    gmtime_test.cpp
  HDRS
    TmMatcher.h
  DEPENDS
    libc.src.time.gmtime
)

add_libc_unittest(
  gmtime_r
  SUITE
    libc_time_unittests
  SRCS
    gmtime_r_test.cpp
  HDRS
    TmMatcher.h
  DEPENDS
    libc.src.time.gmtime_r
)

add_libc_unittest(
  mktime
  SUITE
    libc_time_unittests
  SRCS
    mktime_test.cpp
  HDRS
    TmHelper.h
    TmMatcher.h
  CXX_STANDARD
    20
  DEPENDS
    libc.src.time.mktime
)
